from django.urls import path

from apps.log_center.views import (
    LogOperationView,
    LogLoginView,
    LogDownloadView,
    LogDeleteView,
    LogOperationConfigView,
    LogSwitchView
)

app_name = "log_center"

urlpatterns = [
    path('config/', LogOperationConfigView.as_view(), name='log-config'),
    path('operation/', LogOperationView.as_view(), name='log-operation'),
    path('login/', LogLoginView.as_view(), name='log-login'),
    path('download/', LogDownloadView.as_view()),
    path('delete/', LogDeleteView.as_view()),
    path('switch/', LogSwitchView.as_view())
]
